form method = 'get'
  .panel.panel-default
    .panel-heading
    .panel-body
      == grid(@tasks_grid, show_filters: :always) do |g|  
	    -g.column name: '会员卡号', attribute: 'code'
	    -g.column name: '姓名', attribute: 'name', assoc: :customer
	    -g.column name: '电话', attribute: 'phone', assoc: :customer
	    -g.column name: '车牌号', attribute: 'car_num', assoc: :customer
	    -g.column name: '卡内余额', attribute: 'account'
	    -g.column name: '代金券', attribute: 'coupon'
        -g.column do |c| grid_operator(:member_card_path, c.id, do_show=true, do_edit=false, do_delete=false) end 